package com.entity;

public class User {
    private int id;//编号
    private String username;//用户名
    private String password;//密码
    private String name;//姓名
    private String telephone;//电话号码
    private String qq;//QQ
    private String wx;//微信
    private String email;//E-mail
    private String level;//商户级别e
    private String membertime;//会员时间
    private int number;//发帖数量
    private String register;//注册时间
    private String pic;//微信二维码
    private String Phone;//盐值
    private String administrators;//管理员
    private String supertube;//超管

    public User(int id) {
        this.id = id;
    }

    public User(String username, String password, String name, String telephone, String qq, String wx, String email, String level, String membertime, int number, String register, String pic, String phone, String administrators, String supertube) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.telephone = telephone;
        this.qq = qq;
        this.wx = wx;
        this.email = email;
        this.level = level;
        this.membertime = membertime;
        this.number = number;
        this.register = register;
        this.pic = pic;
        this.Phone = phone;
        this.administrators = administrators;
        this.supertube = supertube;
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getMembertime() {
        return membertime;
    }

    public void setMembertime(String membertime) {
        this.membertime = membertime;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        this.Phone = phone;
    }

    public String getAdministrators() {
        return administrators;
    }

    public void setAdministrators(String administrators) {
        this.administrators = administrators;
    }

    public String getSupertube() {
        return supertube;
    }

    public void setSupertube(String supertube) {
        this.supertube = supertube;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", qq='" + qq + '\'' +
                ", wx='" + wx + '\'' +
                ", Email='" + email + '\'' +
                ", level='" + level + '\'' +
                ", membertime='" + membertime + '\'' +
                ", number=" + number +
                ", register='" + register + '\'' +
                ", pic='" + pic + '\'' +
                ", Phone='" + Phone + '\'' +
                ", administrators='" + administrators + '\'' +
                ", supertube='" + supertube + '\'' +
                '}';
    }
}
